5.3.3 APPX Application Design Manual

+ Chapter 1-1: Overview of Application Design
+ Chapter 1-2: Getting Started
+ Chapter 1-3: Data Dictionary
- Chapter 1-4: Understanding Process Design
+ Chapter 1-5: Interprocess Communication
+ Chapter 1-6: Customizing Your Application
+ Chapter 1-7: The Documentation Facility
+ Chapter 1-8: Application Design Tools
+ Chapter 2-1: Data Dictionary Overview
+ Chapter 2-2: Data Dictionary Concepts
+ Chapter 2-3: Domains
+ Chapter 2-4: Files and Fields
+ Chapter 2-5: Work Fields
+ Chapter 3-1: Overview of APPX Processes
+ Chapter 3-2: Getting Started
+ Chapter 3-3: Process Definition
+ Chapter 3-4: Menu Processes
+ Chapter 3-5: Job Processes
+ Chapter 3-6: Input Processes
+ Chapter 3-7: Output Processes
+ Chapter 3-8: Update Processes
+ Chapter 3-9: Query Processes
+ Chapter 3-10: Inquiry Processes
+ Chapter 3-11: Status Processes
+ Chapter 3-12: Subroutine Processes
+ Chapter 3-13: Table Processes
+ Chapter 3-14: Automatic and Optional Children
+ Chapter 3-15: Using the Image Editor
+ Chapter 3-16: Using GUI Features of the Image Editor
+ Chapter 3-17: Using Event Points
+ Chapter 4-1: ILF Integration
+ Chapter 4-2: True/False Status Indicators
+ Chapter 4-3: Specifying Statements
+ Chapter 4-4: The ILF Editor
+ Chapter 4-5: The Appx ILF Debugger
+ Chapter 4-6: ILF Keyword Reference
+ Chapter 4-7: Predefined Fields
+ Chapter 4-8: Runtime Subroutine's and Predefined Processes
+ Chapter 4-9: Appx Chart Director API

Chapter 1-4: Understanding Process Design

The Query Process


A query process allows you to:

Select a subset of data from a file by providing (or having a user provide) selection criteria.

Sort the selected data by specifying (or having the user specify) one or more sort fields.

You frequently use a query process in conjunction with an output process (described later), to produce a predefined report format for the data as selected and sorted in the query. You can also use a query before an update process to select subsets of a file to be processed in a prescribed sequence.

Included in the general information you specify about a query is the name of the PCF (process control file) and the key you want to use to access the file (if other than the primary key).

In specifying the selection criteria for a query, you can identify as many field constraints as you wish for both key and non-key fields. Each constraint allows you to specify a relation (such as equal to or greater than) between fields, or between a field and a constant. There is also an includes relation that you can use to constrain records by the presence of words or word strings in text. Note that these selections are case-sensitive.

The Record Selection screen also provides an area that allows you to combine several individual constraints into logical expressions, including parentheses, ANDs, and ORs. As a designer, you can predefine some or all of the selection constraints, or you can allow a user to specify the constraints dynamically at runtime.

As with the selection criteria, you can choose to sort a file by any number of key or non-key fields. You can predefine any or all of the sort criteria, and allow end users to modify sort requirements dynamically. Each sort field is potentially a 'control break/subtotal' level in an output, and you or a user can specify print-related information about each sort field, such as whether to print subheadings or go to the top of a new page.

Refer to Query Processes for detailed specifications on defining these processes.

Application Design Manual                                         "Powered by Appx Software"

69

©2006 By APPX Software, Inc. All Rights Reserved